﻿@{
    ViewBag.Title = "Nowe ogłoszenie";
}

<h2>Nowe ogłoszenie</h2>

<form action="Create" method="post">
    <table width="100%">
        <tr>
            <th>Tytuł</th>
            <th>@Html.TextBox("advertTitle", null, new { @style = "width: 100%;" })</th>
        </tr>
        <tr>
            <td>Treść</td>
            <td>@Html.TextArea("advertContent", null, new { @style = "width: 100%;" })</td>
        </tr>
        <tr>
            <td>E-Mail</td>
            <td>@Html.TextBox("advertMail", null, new { @style = "width: 100%;" })</td>
        </tr>
    </table>
    <input type="submit" />
</form>